<title>好友动态评论 设置</title>
<div class="app-content bg-bai">
    <form role="form" id="qqsetgn" onsubmit="return false;"><input type="hidden" name="act" value="reply"> <input
        type="hidden" name="qid" value="{$job.qid}"> <input type="hidden" name="id" value="{$job.uid}">
    <div class="p4">
        <div class="mb3 lan bold">[24H自动] 评论QQ空间好友发表的动态</div>
        <hr/>
        <div class="pt4 pb4 bold">
            <label class="i-checks"><input type="radio" value="0"
                                                                                                 name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 0"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                           ><i></i>关闭功能</label>
            <label class="i-checks ml4"><input type="radio" value="1"
                                                                                                 name="is"
                                                                                                 {if
                                                                                                 condition="$job.start eq 1"
                                                                                                 }
                                                                                                 checked=""
                                                                                                 {/if}
                                               ><i></i>开启功能</label>
        </div>
        <hr/>
		<div class="pt3 pb3">
        <div class="pb9"><font class="f4 bold">运行频率</font><font class="ml4 f3 hui">单位：分钟 （每隔设定的分钟评论一次，每次评论3-5条动态）</font>
        </div>
        <input data-ui-slider="" name="rate" type="text" data-slider-min="1" data-slider-max="30"
               data-slider-step="1" data-slider-tooltip="always"
               data-slider-orientation="horizontal" {if
                                                                                                 condition="$job.rate eq ''"
                                                                                                 }
                                                                                                 data-slider-value="6"
                                                                                                 {else}data-slider-value="{$job.rate}"{/if} class="slider slider-horizontal"></div>
    <hr/>
        <input type="hidden" name="xy" value="1">
        <div class="pt3 pb3">
            <div><font class="f4 bold">评论内容</font><font class="ml3 f2 hui dl">多条评论内容可使用 | 号隔开，系统每次随机选择一条</font></div>
            <div class="mt2"><textarea type="text" class="form w b" name="con" placeholder="输入你要评论的内容，留空为系统随机内容"
                                       rows="3" autocomplete="off">{$job.data}</textarea></div>
        </div>
        <div class="pt1 pb3">
            <button class="btn btn-qing btn-md w" onclick="ajax_gnset_reply();">保 存 设 置</button>
        </div>
    </div>
</div>
</form>
<script  type="text/javascript">
	$('[data-ui-slider]').slider();
    function ajax_gnset_reply() {
        var data = $("#qqsetgn").serialize();
        x.ajax('{:url('pc_ajax/gnset',['act'=>'reply'])}',data);
    }
</script>